import service from '@/utils/request'
// eslint-disable-next-line no-unused-vars
const { httpPostForm, httpPost, httpGet } = service
//材料月结
const request = {
    //根据条件分页查询材料月结
    materialClose (params) {
        return httpPost({
            url: '/material/monthlySettlement/listByEntity',
            params
        })
    },
    //新增材料月结
    AddMaterialClose (params) {
        return httpPost({
            url: '/material/monthlySettlement/create',
            params
        })
    },
    //修改材料月结
    EditMaterialClose (params) {
        return httpPost({
            url: '/material/monthlySettlement/update',
            params
        })
    },
    //保存材料月结明细
    EditMaterialCloseList (params) {
        return httpPost({
            url: '/material/monthlySettlement/updateList',
            params
        })
    },

}

export default request